package com.shou.infrastructure.persistent.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shou.infrastructure.persistent.po.UserPO;
import org.apache.ibatis.annotations.Mapper;

/**
* @author Nemo
* @description 针对表【user(用户表，存储用户基本信息)】的数据库操作Mapper
* @createDate 2025-02-07 22:10:51
* @Entity generator.domain.Users
*/
@Mapper
public interface IUserDao extends BaseMapper<UserPO> {
    void insertSelective(UserPO userPO);

    void updateByPrimaryKeySelective(UserPO userPO);

    IPage<UserPO> selectPageMessageByCondition(Page<UserPO> page, Integer userId, String name, String password, String email, String phone, String role, String sortName, Integer sort);
}




